package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.data.domain.Page;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void save(Map<String, String> paramMap);

    Page<Schedule> findSchedulePage(Map<String, String> paramMap);

    void remove(Map<String, String> paramMap);

    Map<String, Object> getScheduleRule(Integer pageNum, Integer pageSize, String hoscode, String depcode);

    List<Schedule> getScheduleDetail(String hoscode, String depcode, Date workDate);

    Map<String, Object> selectPage(Integer pageNum, Integer pageSize, String hoscode, String depcode);

    Schedule getSchedule(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    void update(Schedule schedule);

    Schedule selectSchedule(String hoscode, String depcode, String hosScheduleId);
}
